<?php
// XXX need to create an object with reflection to automate this process

require '../util/smurfs.php';

function test_clean( $string ) {
  
}

function test_isEmail( $string ) {

}

function test_smurfPrep(  ) {
  $uuid = genUUID();
 // if( smurfPrep('[b]aa[/b]', $uuid) != "[b:$uuid]aa[/b:$uuid]" )
  //  die('no smurfprep 1');

  //if( smurfPrep('[url "where"]aa[/url]', $uuid) != "[url:$uuid \"where\"]aa[\url:$uuid]" )
  //  die('no smurfprep 2');

  echo 'SmurfPrep Good';  
} test_smurfPrep(  );

function test_unsmurf(  ) {

}

function test_smurf(  ) {
  echo smurf('[url:10 "foo"]:10foo[/url:10]', '10');
  echo smurf('[b:10]:10aa[u:10]:10fooa[/u:10]:10[/b:10]:10', '10');

  echo 'Smurf Test';
} test_smurf(  );

function test_genUUID() {
  if( genUUID() == genUUID() ) 
    echo 'gen';
}
test_genUUID();

?>
